﻿/**********************************************************************
 * @file   OperatorsSlice.h
 * @brief  切片管理器
 * @author BaGuijun (baguijun@163.com)
 * @date   2024-09-12
 *********************************************************************/
#ifndef _CFDPostOperatorsSlice_H_
#define _CFDPostOperatorsSlice_H_

#include "FITK_Kernel/FITKCore/FITKOperatorRepo.h"
#include "CFDPostOperatorsBase.h"

namespace OperModel {
    /**
     * @brief  切片管理器
     * @author BaGuijun (baguijun@163.com)
     * @date   2024-09-12
     */
    class CFDPostOperatorsSlice : public CFDPostOperatorsBase {
        Q_OBJECT;
      public:
        /**
         * @brief Construct a new Operators Open object
         * @author BaGuijun (baguijun@163.com)
         * @date 2024-09-04
         */
        explicit CFDPostOperatorsSlice();
        /**
         * @brief Destroy the Operators Open object
         * @author BaGuijun (baguijun@163.com)
         * @date 2024-09-04
         */
        ~CFDPostOperatorsSlice( )  = default;
        /**
         * @brief ui事件
         * @return true 成功
         * @return false 失败
         * @author BaGuijun (baguijun@163.com)
         * @date 2024-09-04
         */
        virtual bool execGUI( ) override;
        /**
         * @brief 执行结果处理
         * @return true 成功
         * @return false 失败
         * @author BaGuijun (baguijun@163.com)
         * @date 2024-09-04
         */
        virtual bool execProfession();
    };



    //根据按钮的ObjectName进行注册按钮事件
#ifndef _RegisteractionSliceCreate__
    #define _RegisteractionSliceCreate__
    Register2FITKOPeratorRepo(actionSliceCreate, CFDPostOperatorsSlice);
    Register2FITKOPeratorRepo(actionSliceEdit, CFDPostOperatorsSlice);
#endif
}

#endif
